package com.yan.test.work.testpaging3.net;

import android.os.Handler;
import android.os.Looper;

/**
 * Created by ywy on 2018-12-20.
 */
public class ThreadUtil {

    public static Handler handler = new Handler(Looper.getMainLooper());

    public static void runOnMainThread(Runnable r){
        handler.post(r);
    }
}
